<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			console.log("欢迎学习javascript");
			var a=["何涛1","何涛2","zhoufanling"];
			alert(a.length);
			a["shuaige"]="史龙龙";
			alert(a.length);
			var n=prompt("请输入一个数组中的新值:","无名");
			a.push(n);
			alert(a);
			
			
		</script>
	</head>
	<body>
	</body>
</html>
